package com.chinasoft.tw.service.lujiaming;

import com.chinasoft.tw.pojo.Info;
import com.chinasoft.tw.service.TrueWord;

import java.util.ArrayList;
import java.util.List;
import java.util.Random;

public class Studentljm implements TrueWord {
    private String sname;
    private List<String> wordlist=new ArrayList<String>();
    Random random=new Random();

    public Studentljm(){
        sname="学生-卢佳铭";
        wordlist.add("完成作业中...");
        wordlist.add("老师保姆级教学");
        wordlist.add("点赞点赞");
        wordlist.add("补话中....");
    }

    @Override
    public Info getTrueWord() {
        Info info=new Info(sname, wordlist.get(random.nextInt(wordlist.size())));
        return info;
    }
}
